The dummy code transformation creates a new dataset where the categorical variables with k categories are transformed into k binary variables where 1 indicates presence of a category and 0 absence. This transformation is appropriate for including categorical variables in certain statistical analysis that expect only numeric variables. For example, k-1 dummy variables can be included as independent variables in a regression
analysis.
